﻿using System;

namespace Beaker.Reflection
{
	/// <summary>
	/// Provides some dummy implementations to give .NET 4 some backward compatiblity with .NET 45 source code
	/// </summary>
	public static class BackwardCompatibilityExtensions
	{
		/// <summary>
		/// Simpy return the type itself, because .NET 4 does not have TypeInfo
		/// </summary>
		public static Type GetTypeInfo(this Type type)
		{
			return type;
		}
	}
}
